package com.cjc.mybase.flagment;

import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;

import com.cjc.mybase.adapter.ImageLoader;

/**
 * 
 ***************************************************** 
 * <hr>
 * <dt><span class="strong">类功能简介:</span></dt>
 * <dd>Fragment页面父类</dd>
 * <dt><span class="strong">创建时间:</span></dt>
 * <dd>2014-9-26 上午10:11:14</dd>
 * <dt><span class="strong">公司:</span></dt>
 * <dd>Fragment </dd>
 * 
 * @author aa1000777 - Email:aa1000777@qq.com
 ***************************************************** 
 */
public class BaseFragment extends Fragment {
	public FragmentManager fragmentManager;
	public Context appContext;
	public Context context;
	public ImageLoader imageLoader;

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		context = this.getActivity();
		appContext = context.getApplicationContext();
		fragmentManager = this.getFragmentManager();
		initView();
		initData();
		setView();
	}

	protected void initView() {
	}

	protected void initData() {
	}

	protected void setView() {
	}

}
